query($q); $db->next_record(); $account_id = $db->f("order_account_id"); $billing_id = $db->f("order_billing_id"); ?>
Order No: p("order_id"); ?> Status: f("order_status"); ?>
Total: f("order_amount"); echo setup("currency"); printf("%.2f",$amount); ?> Date: p("order_date"); ?>

Account Information:
query($q); $dbf->next_record(); ?> p("account_name"); ?> f("account_company")) { echo "
"; $dbf->p("account_company") ; } ?>
p("account_address"); ?>
p("account_city"); ?> , p("account_state"); ?> p("account_zip"); ?>

Billing Information:
query($q); $dbf->next_record(); ?>
Credit Card: f("billing_cc_num"); $cc_num=RC4($cc,"de"); echo $cc_num;?> Expires: p("billing_cc_exp"); ?>

Billing History For This Order:
query($q); while($dbf->next_record()) { ?>
p("billed_date"); ?> p("billed_amount");?>

Domain & Hosting Ordered:
query($q); while($dbf->next_record()) { ?>
p("domain_name"); ?> f("domain_years"); if ($length==0) { $years = "Hosting Only"; } else { $years = "$length Year(s)"; } echo $years; ?> f("domain_host_id")); echo $host_name; ?>

f("order_attr_name_" . $i) != "") { ?>
p("order_attr_name_" . $i); ?>
f("order_attr_value_" . $i) == "Y") { echo "YES"; } elseif ($db->f("order_attr_value_" . $i) == "") { echo "NO"; } else { $db->p("order_attr_value_" . $i); } ?>


2) { ?> < PREV ORDER | '$order_id'"; $db->query($q); if ($db->next_record()) {?> | NEXT ORDER>


Note: The delete action will delete all records
linked to this order (domains, billing, credits, etc)


THIS IS FINAL AND CAN NOT BE UNDONE!